var data = [

    {
        father: "系统管理actor",
        sun: [
            {
                name: "菜单管理",
                url: 'category.html',
            },
            {
                name: "角色管理",
                url: 'actor.html',
            },
            {
                name: "用户管理",
                url: 'user.html',
            }
        ]
    },
    {
        father: "挂号管理",
        sun: [
            {
                name: "门诊挂号",
                url: 'guaHao.html',
            }
        ]
    },
    {
        father: "医生工作站",
        sun: [
            {
                name: "就诊信息",
                url: "seeDoctorMessage.html"
            }
        ]
    },
    {
        father: "费用管理",
            
            sun: [
                {
                    name: "门诊收费",
                    url: "payIn.html"
                },
                {
                    name: "门诊退费",
                    url: "payOut.html"
                }
            ]
        

    }

] 
Mock.mock('/pages/category/getAllCategoryAndSunCategoryByActor', 'post', function(e) {
    console.log("后端接收：")
    console.log(e.body)
    return data
})